package com.zhku.shoppingspringboot.pojo.vo.order;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.zhku.shoppingspringboot.pojo.entity.Orders;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;
import java.util.List;

/**
 * @author hwy
 * @date 2025-01-02 19:27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Builder
@ApiModel(value="OrderGoodsMsgVO对象", description="获取订单详情")
public class OrderDetailVO implements Serializable {
    @ApiModelProperty("订单id")
    private Long id;

    @ApiModelProperty("订单数量")
    private Integer goodsCount;

    @ApiModelProperty("总价格")
    private Float totalPrice;
    @ApiModelProperty("总实付价格")
    private Float totalPayPrice;
    @ApiModelProperty("邮费")
    private Float postFree;
    @ApiModelProperty("订单总折扣")
    private Float discount;
    @ApiModelProperty("创建时间")
    private String createTime;
    @ApiModelProperty("支付类型")
    private Integer payType;
    @ApiModelProperty("订单状态")
    private Integer orderState;
    @ApiModelProperty("支付渠道")
    private Integer payChannel;
    @ApiModelProperty("订单倒计时 剩余的秒数 -1 表示已经超时，正数表示倒计时未结束")
    private Long countDown;
    @ApiModelProperty("订单截止时间")
    private String payLatestTime;

    @ApiModelProperty("买家留言")
    private String buyerMessage;

    @ApiModelProperty("配送类型")
    private Integer deliveryTimeType;

    @ApiModelProperty("支付时间")
    private String payTime;

    @ApiModelProperty("发货时间")
    private String consignTime;

    @ApiModelProperty("订单交易完成时间")
    private String endTime;

    @ApiModelProperty("订单交易关闭时间")
    private String closeTime;

    @ApiModelProperty("订单完成评价时间")
    private String evaluationTime;

    @ApiModelProperty("预计到货时间")
    private Date arrivalEstimatedTime;

    /*
  收件人
   */
    @ApiModelProperty("收件人")
    private String receiver;

    /*
    收货人-联系方式
     */
    @ApiModelProperty("收货人-联系方式")
    private String contact;

    /*
    收货人-省份编码
     */
    @ApiModelProperty("收货人-省份编码")
    private String provinceCode;
    /*
    收货人-城市编码
     */
    @ApiModelProperty("收货人-城市编码")
    private String cityCode;
    /*
    收货人-地区编码
     */
    @ApiModelProperty("收货人-地区编码")
    private String countyCode;
    /*
    收货人-详细地址
     */
    @ApiModelProperty(" 收货人-详细地址")
    private String address;
    @ApiModelProperty("商品sku的id集合")
    private List<SkuVO> skus;


    private static final long serialVersionUID = 1L;
}
